package com.yonyou.ucf.mdf.app.isvdxq.firstpart.RFIDCodeDetail.service;

import com.yonyou.ucf.mdf.app.isvdxq.firstpart.RFIDCodeDetail.mapper.StoreRecordMapperImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StoreCheckService {
    @Autowired
    StoreRecordMapperImpl storeRecordMapper;

    public int GetNumInWaitByOrderId(String orderId,String tenant_id) throws Exception {
        return storeRecordMapper.GetNumInWaitByOrderId(orderId,tenant_id);
    }

    public int GetNumInByOrderId(String poId,String tenant_id) throws Exception {
        return storeRecordMapper.GetNumInByOrderId(poId,tenant_id);
    }

    public int GetNumOutWaitByOrderId(String orderId,String tenant_id) throws Exception {
        return storeRecordMapper.GetNumOutWaitByOrderId(orderId,tenant_id);
    }

    public int GetNumOutByOrderId(String poId,String tenant_id) throws Exception {
        return storeRecordMapper.GetNumOutByOrderId(poId,tenant_id);
    }
}
